package com.study.entity.atte;

import com.study.entity.atte.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 扣款类型表
 * @Author wfw
 * @Date 2020/08/01 16:02
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "atte_deduction_type")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeductionType extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -5896271487022973423L;

    @Id
    private String code;
    private String description;
}
